#!/bin/sh

PREFIX=$PWD/../jrtp-pc-install

cmd="cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_INSTALL_PREFIX=$PREFIX -DJThread_DIR=$PWD/../jthread-pc-install/lib/cmake/JThread/ -DJRTPLIB_USE_BIGENDIAN=OFF"

eval $cmd -L .

echo ''
echo ''
echo '############'
echo 'gen Makefile'
echo '############'

eval $cmd .
